package cn.itheima.health.service;

import cn.itheima.health.entity.QueryPageBean;
import com.itheima.pojo.Permission;

import java.util.List;
import java.util.Map;

public interface PermissionService {
    Map findPage(QueryPageBean queryPageBean);

    void add(Permission permission);

    void edit(Permission permission);

    void deletePermissionById(Integer id);

    List<Permission> findPermissionAll();

    Map findPermissionIdsByRoleId(Integer id);

}
